package com.gitee.timeddeletion.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "timedel")
public class TimedDeletionProp {

    private String cron;

    private String dateformat;

    private Long retentionPeriod;

    private List<String> backupPath;
}
